/* 版心 container */
.container {
  width: 1160px;
  margin: 0 auto;
}

/* blue类名 公共定义字体颜色为主题颜色 */
.blue {
  color: #32aaff;
}

/************ 顶部shortcut *************/
.shortcut {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 0 5px 1px rgb(158 179 193 / 50%);
}
/* logo */
.shortcut h1 {
  float: left;
  height: 50px;
  margin-right: 40px;
  line-height: 50px;
}
.shortcut h1 img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}
.shortcut h1 span {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.87);
  font-weight: 400;
}
/* 顶部小导航 top_nav */
.top_nav {
  float: left;
  height: 50px;
  /* margin-right: 250px; */
  line-height: 50px;
}
.top_nav li {
  float: left;
  cursor: pointer;
}
.top_nav li img {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: bottom;
}
.top_nav li a {
  position: relative;
  display: inline-block;
  padding: 6px 12px;
  line-height: 1;
  font-size: 14px;
}
.top_nav li:hover a {
  color: #32aaff;
}
.top_nav .active span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 3px;
  background-color: #32aaff;
  transform: translateX(-50%);
  border-radius: 2px;
}
/* 右侧 */
.right_part {
  float: right;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
}
.right_part .search_bar {
  width: 180px;
  height: 32px;
  padding-left: 16px;
  margin-top: 9px;
  border-radius: 15px;
  background-color: #f4f4f4;
  line-height: 32px;
}
.right_part .search_bar #app {
  position: relative;
}
.right_part .search_bar #app input {
  border: 0;
  font-size: 12px;
  background-color: transparent;
}
.right_part .search_bar input::placeholder {
  color: #b5b5b5;
}
.right_part .search_bar #app button {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 16px;
  background-color: #f4f4f4;
}
.right_part > div {
  float: left;
  height: 50px;
}
.right_part .panel {
  padding: 0 15px;
}
.right_part .download_app {
  padding: 0px 15px 0 30px;
  cursor: pointer;
}
.right_part .download_app:hover button {
  color: #32aaff;
}
.right_part a,
.right_part button {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  background-color: #fff;
}
.right_part .user_avatar {
  width: 34px;
  height: 34px;
  margin: 8px 20px;
  background: url(../uploads/user_avatar.jpg);
  background-size: contain;
  border-radius: 50%;
  cursor: pointer;
}

/************ banner *************/
.banner {
  position: relative;
  /* 为了防止顶部 shortcut 固定定位不占位置, banner顶到浏览器窗口的最上方 */
  padding-top: 50px;
  /* x轴溢出的图片显示隐藏 */
  overflow-x: hidden;
  height: 430px;
}
.banner ul {
  width: 200%;
  transform: translateX(-188px);
}
.banner ul li {
  float: left;
}
.banner .mask_left,
.banner .mask_right {
  position: absolute;
  top: 50px;
  width: 572px;
  height: 380px;
}
.banner .mask_left {
  left: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(43, 43, 43, 0));
}
.banner .mask_right {
  right: 0;
  background-image: linear-gradient(-90deg, rgba(0, 0, 0, 0.8), rgba(43, 43, 43, 0));
}
.banner .container {
  /* 子绝父相, 用来定位左右按钮(注意要设置高度, 不然container只有一根线, 垂直方向的定位会出问题) */
  position: relative;
  height: 380px;
}
.banner .arrow_left,
.banner .arrow_right {
  position: absolute;
  width: 32px;
  height: 80px;
  font-size: 20px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  background-size: 40%;
}
.banner .arrow_left {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.banner .arrow_right {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
/******************* 主导航 main_nav *****************/
.main_nav {
  width: 100%;
  height: 73px;
  padding: 26px 0;
  background-color: #212121;
}
.main_nav a {
  margin: 0 19px;
  color: #fff;
  font-size: 16px;
}
.main_nav a:hover {
  color: #fff;
}

/****************** 推荐模块 recommend  ****************/
.recommend {
  /* min-height: 770px; */
  min-height: 432px;
}
.recommend .title {
  padding: 66px 0 20px 0;
  line-height: 1;
}
.recommend .title h2 {
  float: left;
  font-size: 32px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.87);
}
.recommend .title > a {
  float: right;
  width: 90px;
  height: 34px;
  border-radius: 17px;
  background-color: rgba(50, 170, 255, 0.16);
  color: #32aaff;
  line-height: 34px;
  text-align: center;
  font-size: 14px;
}
.recommend .content li {
  float: left;
  width: 180px;
  height: 326px;
  margin-right: 16px;
  line-height: 1;
}
.recommend .content li:nth-child(6n) {
  margin-right: 0;
}
.recommend .content li img {
  width: 100%;
}
.recommend .content li h4 {
  padding: 13px 0;
  color: rgba(0, 0, 0, 0.87);
  font-weight: 400;
  font-size: 18px;

  /* 溢出显示省略号 */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.recommend .content li p {
  font-size: 13px;
  color: #999;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 热门速递 hot修改部分样式 */
.hot .content ul li {
  width: 278px;
  height: 244px;
}
.hot .content li:nth-child(4n) {
  margin-right: 0;
}
.hot .title ul li {
  float: left;
  font-size: 14px;
  line-height: 20px;
  margin: 14px 0 0 28px;
}
.hot .title .active a:hover {
  color: #32aaff;
}
.hot .title .active a {
  position: relative;
}
.active span {
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 3px;
  background-color: #32aaff;
  transform: translateX(-50%);
  border-radius: 2px;
}
/************************* 底部footer *********************/
footer {
  padding-top: 40px;
  padding-bottom: 26px;
  background-color: #212121;
}
.fl {
  float: left;
}
footer .row_one .left_part {
  width: 660px;
  font-size: 25px;
  color: hsla(0, 0%, 100%, 0.7);
}
.row_one .left_part .footer_logo img {
  width: 68px;
  height: 68px;

  margin-right: 24px;
}
.row_one .left_part .url_links {
  width: 260px;
  margin-left: 36px;
}

.row_one .left_part .url_links a {
  margin: 10px 35px;
  line-height: 1;
  font-size: 14px;
  color: hsla(0, 0%, 100%, 0.7);
}
.row_one .line_between {
  width: 1px;
  height: 88px;
  background-color: hsla(0, 0%, 100%, 0.2);
}
.row_one .right_part {
  margin-left: 60px;
}
.row_one .right_part a {
  display: inline-block;
  margin: 0 38px;
  background-color: #212121;
  text-align: center;
  color: hsla(0, 0%, 100%, 0.5);
}
.row_one .right_part a img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
